Skip to content

Add --all flag to auth logout command#78

Merged
lollipop-onl merged 1 commit into
mainfrom
feature/auth-logout-all
Mar 11, 2026
Merged

Add --all flag to auth logout command#78
lollipop-onl merged 1 commit into
mainfrom
feature/auth-logout-all

Conversation

@lollipop-onl
Copy link
Copy Markdown
Collaborator

Summary

  • Add --all flag to bee auth logout to remove all stored credentials at once
  • Add removeAllSpaces() function to @repo/config package
  • --all and --space are mutually exclusive (throws error if both provided)

Test plan

  • bee auth logout --all removes all spaces and shows success message
  • bee auth logout --all with no configured spaces shows info message
  • bee auth logout --all --space host throws error
  • Existing logout behavior unchanged (707 → 712 tests, all passing)

🤖 Generated with Claude Code

Allow users to remove all stored credentials at once with `bee auth logout --all`,
useful for cleanup before uninstalling. The --all flag is mutually exclusive with --space.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 92.25% 1798 / 1949
🔵 Statements 92.34% 1869 / 2024
🔵 Functions 90.84% 387 / 426
🔵 Branches 78.63% 806 / 1025
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/cli/src/commands/auth/logout.ts 79.31% 65% 50% 79.31% 53-65
packages/config/src/space.ts 100% 100% 100% 100%
Generated in workflow #384 for commit fb4cc08 by the Vitest Coverage Report Action

@lollipop-onl lollipop-onl added the enhancement New feature or request label Mar 11, 2026
@lollipop-onl lollipop-onl self-assigned this Mar 11, 2026
@lollipop-onl lollipop-onl merged commit 45e886b into main Mar 11, 2026
7 checks passed
@lollipop-onl lollipop-onl deleted the feature/auth-logout-all branch March 11, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant